SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b1f8342de82035ced8524965f12cb5c30a3cc7b8e8f84f73e6038e456cef2dfc' 
  AND token = '5XZ38dOH3Xg8Mp2GrmCQF4GXzCqijvzX2b2U028sWQQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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