SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4ee98cd09afe34f27dcb406ee33d06c2861e273148a310f6bb200fff631d1313' 
  AND token = 'qhH2VH23f1C2jpCBhmBSZxss1bdARthCZWpPn8fc+HA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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