SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9d5d8c2a6e3a7081f22df3633c68a503797dc137274fd4811531e37a88458284' 
  AND token = 'jRDOEJoupVTdtkXoscZC9xtJCes/bE8eGFF26XO2KfE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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