SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecff281e14160eddb784572a356016fe1043d23ab6581d8282bd8464e78fc44d' 
  AND token = 'yesJIcfCQsdSc4B8LoFaGddH/UygXNGgkALRSBhAug8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00079

JSON explain

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