SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bc94b711448dd90168f9da173832f0a6d03376f076a5b251e2ce1c0019a4511d' 
  AND token = '4vJ0QQOG/ksi+R4Tnt3EPdYBdcqzaKKKfOa70XeNzho=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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