SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef928397bcf7976390079e968cd2210180b85b9271c06bd7921e88d8178dfdf1' 
  AND token = 'K/5N/Gp4SNGFOuXnJ5e+DFKWU6VVZQTFd0PrMKjvuyQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}