SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5ec2788f545e208b03eb1da481e131b288ba1bf68d7442a9b65455a2a1211c1' 
  AND token = '5+fx4iATdnure2WFODOCw41VzeXYpEPx6eo6XRYUia0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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