SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e6ae303e1b88e02f3441e994a98078c56f303bde17f84a719bfc2e8d1eb739d6' 
  AND token = 'qPOlD8aSWAN+Ti9JER5UYjOrs9cigJyjaXx5Ui5kpD8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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