SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b1a6f8d324ca3b1214690d295ba7cdee7c38ee040a732b5f3cdee5bf169938ec' 
  AND token = 'lt3YfdnzHvIpiFDGR5+1k8iy5xH2EF53i0xanyAwZIk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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