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

Query time 0.00023

JSON explain

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