SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9881e069b75d0abfdbf621c8ed8bed454838f7ccc9dc6787338824cd387e754b' 
  AND token = 'jkzBMkcv5enLIC7XaIZBWAKHG5L6YUpoJq03WSQ64Wc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}