SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '840db794190b7108738c6e4ff33cd471a8135ad108a03cc0dc6635dc0563f08d' 
  AND token = '9+mcSH4va1WD1apCXxJi2X+dLix6rYL1in2ItEjWAPM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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