SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40d4e039eb915ca657ebe4df66fdbc5055d61513aefeb641c66c55ac6ef8ccc6' 
  AND token = 'yM35N4lTrl6hmmO74+zJ4ohxJEEjvtLmpkpUEMpii+w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}