SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6d9ff391acbe41e317f043cc71059207f127138633a34c16741cc57b463f8bb1' 
  AND token = 'lnb3Z9qEU7GQETd60Kf54pA3M3TByXI+5GqzSBO/7+E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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