SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7e42732c3ea4231f1becd9a02bf1ae0057ac884baf0dc1198d9e1dbc961f1211' 
  AND token = 'gnIW8lnGaskrLXsAW31nljPoQGPUz7tSfeyJsEFJLM4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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