SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed0d0ca43eee5bcbdc1260c076850ef1f3bd97b76228e69eba0829959a385437' 
  AND token = 'ttaKYtM8eI/HIMTFPvVTgiVkdSiTciut0JeI7Hdn7t4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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