SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eb54de32c09445bb58aec3ad221836234f74be467cbd3016df6823b7f6f47ddf' 
  AND token = 'v355lMdXoA35ur1RHRnT71e7ysEbWmFBRRDAgF5e4X0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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