SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a330f951faf74af3d8552981d73d79aaa3cc15f7c6d9a3477f765d9b83cb8b6f' 
  AND token = 'ZDiHjOlo0xmLpbICo1KEfDfTHaEUMbCKNOv555UyOvM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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