SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '517905ef9f6d38480fdbb9dd11e9b1ad67a968f4427233240f1360bc709d0bc4' 
  AND token = 'JswpSXZGBL8Jtu7dy6Yny2I7y9WvTwRnKMmoc0CdN1o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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