SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8e3eec2a2d9e1c44e23e7c1e9be85519fee7c8a77dde36b3e4059bbbf9aa6977' 
  AND token = 'ZyNEStfnXNc7gZRjw6bvxyoBEJUJdmf59O+duzsb8YM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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