SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2264854bdcd237558f8c83e634b2160f79310428915aa5614e804477957cb23e' 
  AND token = 'iAl++uXHN+JoMuVrbkYcfjS2ml/NAdVmur4f1AGYXhE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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