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

Query time 0.00034

JSON explain

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