SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd12cf30d5414932d3689994bfce1d663af9b226c402f8e0252e7238ed2ae2db6' 
  AND token = 'mH0ws9Nbx23zp0w+UVMDO6rVQhN9zO4pcWCRzmH/oMg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00061

JSON explain

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