SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a51429f40142140de2f02961b0462b0570742acc8ba16e3fed490124b9f0645c' 
  AND token = '2FED26iYqrvRas42CsgDiPkaGi+YOUdrFBe2i42WgGo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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