SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2b8cee9c257ed0d8cebf31030feecb21caac5c1f7561058489112f528de0a385' 
  AND token = 'l1adAEyxxO0L5DE84t17lxSOZak0Ps4WxzoGiCltN5U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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