SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6e66516ab2b42894af699769ab8e1ec0f22b2d173d6d3255da4673e731bcfde2' 
  AND token = 'XB1AssVVG73gxaQBPmVNwfHJUnRiBA8JqT3BT86av8M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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