SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b998af2783a0ce5b931083938dd2b9b77a65276419861fe06f7bc9f881290324' 
  AND token = 'IdFSlK+9Kdv2CzU3r2jUALKNB8Kz1S9lQ/OEHEUbOpw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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