SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fb8a04f2f58f48300a6c211fa6dbf459f88dde8ef5295f18acead398e7238c6f' 
  AND token = 'ZptoT7zYCqwss0stPkRzJYOdptGb6m13ye497SUqrqY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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