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

Query time 0.00014

JSON explain

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