SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6d2d2a47c98894b89f77fa868df3eddb57d87f21fe77462594c53ca739edae15' 
  AND token = 'AOREDgYgvBQKMo06EhqruDltw9J4Y47uX3iK1KUswxU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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