SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf78a9458af4b56ab94ba59b538a460abe397f29fb108af6854f82343706c611' 
  AND token = 'DdO2X++sTwUB5V8WtjhxIMDDyjVprU3Vdlir/aQ6cn4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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