SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '34b2b301a91b572cc357d05e9294dfb2daf03deb5b6ffac52e0ea5555f7ce01f' 
  AND token = 'ZY0Prh+SyfPdZ/b642Gltc6fMw1zLmYORSA5CgJCCs8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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